<!DOCTYPE html>
<html lang="zh-CN">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>智能食谱小程序原型</title>
  <link href="https://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css" rel="stylesheet">
  <style>
    body {
      background-color: #f5f5f5;
      padding: 20px;
    }
    .device-frame {
      width: 390px; /* iPhone 15 Pro 宽度 */
      height: 844px; /* iPhone 15 Pro 高度 */
      border-radius: 40px;
      overflow: hidden;
      border: 12px solid #1a1a1a;
      background-color: #fff;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
      margin: 20px;
      position: relative;
    }
    .device-frame iframe {
      width: 100%;
      height: 100%;
      border: none;
    }
    .device-title {
      text-align: center;
      font-weight: bold;
      margin-bottom: 10px;
      color: #333;
    }
    .prototype-container {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
    }
    .notch {
      position: absolute;
      width: 150px;
      height: 30px;
      background-color: #1a1a1a;
      top: 0;
      left: 50%;
      transform: translateX(-50%);
      border-bottom-left-radius: 15px;
      border-bottom-right-radius: 15px;
      z-index: 10;
    }
  </style>
</head>
<body>
  <h1 class="text-3xl font-bold text-center my-6">智能食谱小程序原型</h1>
  <p class="text-center mb-8">基于TDesign设计风格的小程序原型展示</p>
  
  <div class="prototype-container">
    <!-- 首页 -->
    <div class="device-wrapper">
      <div class="device-title">首页</div>
      <div class="device-frame">
        <div class="notch"></div>
        <iframe src="home.html"></iframe>
      </div>
    </div>
    
    <!-- 我的家庭 -->
    <div class="device-wrapper">
      <div class="device-title">我的家庭</div>
      <div class="device-frame">
        <div class="notch"></div>
        <iframe src="family.html"></iframe>
      </div>
    </div>
    
    <!-- 我的摄像头 -->
    <div class="device-wrapper">
      <div class="device-title">我的摄像头</div>
      <div class="device-frame">
        <div class="notch"></div>
        <iframe src="camera.html"></iframe>
      </div>
    </div>
  </div>
</body>
</html>
